<template>
	<div>
		<mt-swipe :auto="4000">
		  <mt-swipe-item v-for ="item in lunboList" :key="item.id">
		  	<img :src=item.img alt=""  :class="[ isfull?'imgFull':'imgNoFull']">
		  </mt-swipe-item>
		</mt-swipe>
	</div>
</template>
<style lang="scss" >
	.mint-swipe{
		text-align: center;
		height: 200px;
	.imgFull{
		width: 100%;
		height: 100%;
	}
	.imgNoFull{
		height: 100%;
	}
	}
</style>
<script type="text/javascript">
	//轮播图的数据是哪里调用，哪里传过来的，不是自己请求的
	export default{
		data:function(){
			return{};
		},
		props:['lunboList','isfull']
	}
</script>